package com.eddie.facade;

/**
 * 客户端
 * @author Eddie
 * @date 2022/08/02 09:23
 **/
public class Client {
    public static void main(String[] args) {
        //直接调用，很麻烦
        HomeTheaterFacade homeTheaterFacade = new HomeTheaterFacade();
        homeTheaterFacade.ready();
        System.out.println("================================================");
        homeTheaterFacade.play();
        System.out.println("================================================");
        homeTheaterFacade.pause();
        System.out.println("================================================");
        homeTheaterFacade.end();
    }
}
